package cn.seaboot.admin.notice.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
* POJO
* 通知日志 [t_notice_item]
* @author ChenSS on 2018/6/20.
*/
@Schema(description = "通知日志 [t_notice_item] 实体类")
public class NoticeItem implements Serializable {

    private static final long serialVersionUID = -7349123573868310650L;
    /**
    * ID
    */
        @NotNull
    @Schema(description = "ID")
    private String id;
    /**
    * 界面地址
    */
        @NotNull
    @Schema(description = "界面地址")
    private String url;
    /**
    * 业务变量
    */
        @NotNull
    @Schema(description = "业务变量")
    private String variable;
    /**
    * 阅读日期
    */
        @NotNull
    @Schema(description = "阅读日期")
    private LocalDateTime gmtRead;
    /**
    * 创建日期
    */
        @NotNull
    @Schema(description = "创建日期")
    private LocalDateTime gmtCreate;
    /**
    * 修改日期
    */
        @NotNull
    @Schema(description = "修改日期")
    private LocalDateTime gmtModified;
    /**
    * 模版ID
    */
        @NotNull
    @Schema(description = "模版ID")
    private String noticeId;
    /**
    * 批次ID
    */
        @NotNull
    @Schema(description = "批次ID")
    private String batchId;
    /**
    * 接收者ID
    */
        @NotNull
    @Schema(description = "接收者ID")
    private String userId;
    /**
    * 标题
    */
        @NotNull
    @Schema(description = "标题")
    private String title;
    /**
    * 内容
    */
        @NotNull
    @Schema(description = "内容")
    private String content;
    /**
    * 类型
    */
        @NotNull
    @Schema(description = "类型")
    private Integer noticeType;
    /**
    * 状态
    */
        @NotNull
    @Schema(description = "状态")
    private Integer noticeStatus;
    /**
    * 通知级别
    */
        @NotNull
    @Schema(description = "通知级别")
    private Integer label;

    public String getId() {
    return id;
    }

    public void setId(String id) {
    this.id = id;
    }

    public String getUrl() {
    return url;
    }

    public void setUrl(String url) {
    this.url = url;
    }

    public String getVariable() {
    return variable;
    }

    public void setVariable(String variable) {
    this.variable = variable;
    }

    public LocalDateTime getGmtRead() {
    return gmtRead;
    }

    public void setGmtRead(LocalDateTime gmtRead) {
    this.gmtRead = gmtRead;
    }

    public LocalDateTime getGmtCreate() {
    return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
    this.gmtCreate = gmtCreate;
    }

    public LocalDateTime getGmtModified() {
    return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
    this.gmtModified = gmtModified;
    }

    public String getNoticeId() {
    return noticeId;
    }

    public void setNoticeId(String noticeId) {
    this.noticeId = noticeId;
    }

    public String getBatchId() {
    return batchId;
    }

    public void setBatchId(String batchId) {
    this.batchId = batchId;
    }

    public String getUserId() {
    return userId;
    }

    public void setUserId(String userId) {
    this.userId = userId;
    }

    public String getTitle() {
    return title;
    }

    public void setTitle(String title) {
    this.title = title;
    }

    public String getContent() {
    return content;
    }

    public void setContent(String content) {
    this.content = content;
    }

    public Integer getNoticeType() {
    return noticeType;
    }

    public void setNoticeType(Integer noticeType) {
    this.noticeType = noticeType;
    }

    public Integer getNoticeStatus() {
    return noticeStatus;
    }

    public void setNoticeStatus(Integer noticeStatus) {
    this.noticeStatus = noticeStatus;
    }

    public Integer getLabel() {
    return label;
    }

    public void setLabel(Integer label) {
    this.label = label;
    }
}
